﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ASPNETVN.PORTAL.Components.UI;
using ASPNETVN.PORTAL.Components.Helpers;

namespace CDTM.Modules.ONLINE.Controls
{
    public partial class Style2 : ModulePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        public int GetOnlineNumber()
        {
            ASPNETVN.PORTAL.Components.Configuration.Items.Portal portal =
                (ASPNETVN.PORTAL.Components.Configuration.Items.Portal)Context.Items["Portal"];

            return ASPNETVN.PORTAL.Components.Configuration.PortalConfiguration.GetVisitorNumber(portal.ID);
        }
    }
}